import sys
from PyQt5.QtWidgets import QApplication
from myWidget import QmyWidget

#   主进程
app = QApplication(sys.argv)
mainform = QmyWidget()
mainform.show()
sys.exit(app.exec_())